using OneDayModel.Model;
using OneDayModel.Tests.Fits.UIUsers;
using OneDayModel.Tests.Mocks;
using TestUtils;

namespace OneDayModel.Tests.Fits.Runners
{
    public abstract class BaseRunner : AttributedFitRunner
    {
        protected const string baseDirectory = @"..\..\..\OneDayModel.Tests\Fits\";

        protected override string OutFolder
        {
            get { return baseDirectory + @"TestResults\"; }
        }

        protected override string InFolder
        {
            get { return baseDirectory;}
        }
    }

    public abstract class BaseLogicRunner : BaseRunner
    {
        protected BaseLogicRunner()
        {

            ContextManager.TestContext[typeof(UsersFactory).ToString()] = new UsersFactory();
        }
    } 
}